<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>{$title}</title>
<notempty name="keywords">
<meta name="keywords" content="{$keywords}" />
</notempty>
<notempty name="description">
<meta name="description" content="{$description}" />
</notempty>
<link href="../Public/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Public/js/common.js"></script>
<meta property="qc:admins" content="35534323776511677763757" />
</head>
<body>
<div class="toolbar-warp">
  <div class="toolbar">
    <div class="toolbar-left">共<span>{$siteInfoCount['category']}</span>个网站分类目录，共收录<span>{$siteInfoCount['websites']}</span>个优秀站点，<span>{$siteInfoCount['webapply']}</span>个网站正在等待审核</div>
    <div class="toolbar-right">
    <if condition="$memberInfo['id'] gt 0"><a href="{:U('/member')}">{$memberInfo['username']}</a> | <a href="{:U('/logout')}">退出</a>
    <else/>
     <a href="{:U('/login/')}" rel="nofollow">登录</a> | <a rel="nofollow" href="{:U('/register/')}">注册</a> | <a href="{:U('/member/oauth/type/qq')}" rel="nofollow">QQ登录</a>
     </if> | <a href="{:U('/addurl/')}">新网站提交入口</a> | <span>快审QQ: {$webConfig['qq']}</span></div>
  </div>
</div>
<div class="header">
  <div class="clearfix topbox"><a href="{$webConfig['host_url']}" class="logo"><img src="../Public/images/logo.gif" alt="{$webConfig['web_name']}" /></a>
    <div class="header-ad">{:W('Ad', 2)}</div>
    <div class="sobox">
      <form name="sofrm" class="sofrm" method="get" action="{:U('/search/')}" onsubmit="return checkSearch();" accept-charset="utf-8">
        <input type="text" name="keyword" id="search-keyword" class="sipt"  placeholder="网站名称或网址">
        <input type="submit" class="sbtn" id="search-submit" value="搜 索" />
      </form>
    </div>
  </div>
</div>
<div class="navbar-wrapper">
  <ul class="navbar">
    <li> <a href="{$webConfig['host_url']}"<if condition="MODULE_NAME == 'Index'"> class="active"</if>>首页</a> </li>
        
        <volist name="nav" id="n">
            <li>
                <a href="{$n['url']}" <eq name="n['nofollow']" value="1">rel="nofollow"</eq><eq name="n['target']" value="_blank">target="_blank"</eq><if condition="$n['active'] eq 1"> class="active"</if>>{$n['name']}</a>
                
                <notempty name="n['tree']">
                <ul>
                    <volist name="n['tree']" id="nn">
                    <li><a href="{$nn['url']}" <eq name="nn['nofollow']" value="1">rel="nofollow"</eq><eq name="nn['target']" value="_blank">target="_blank"</eq> <if condition="$nn['active'] eq 1"> class="active"</if>>{$nn['name']}</a></li>
                    </volist>
                </ul>
                </notempty>
            </li>
       </volist>
  </ul>
</div>
<div class="clear"></div>